package cn.dgiot.fd.contant;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Component
@Configuration
public class AliyunConfig {

	/** productKey */
	@Value("${aliyun.ProductKey}")
	public String productKey;
	
	/** productSecret */
	@Value("${aliyun.ProductSecret}")
	public String productSecret;

	/** accessKey */
	@Value("${aliyun.accessKey}")
	public String accessKey;

	/** accessSecret */
	@Value("${aliyun.accessSecret}")
	public String accessSecret;
	
	/** regionId */
	@Value("${aliyun.regionId}")
	public String regionId;
	
	/** groupName */
	@Value("${aliyun.message.messageConsumer.groupName}")
	public String messageConsumerGroupName;
	
	/** 消息消费客户端id */
	@Value("${aliyun.message.messageConsumer.clientId}")
	public String clientId;
	
	/** 用户名 */
	@Value("${aliyun.message.messageConsumer.userName}")
	public String userName;
	
	/** 硬件状态topic */
	@Value("${aliyun.message.topic.status}")
	public String statusTopic;
	
	/** 属性上报topic */
	@Value("${aliyun.message.topic.devicePropertyPost}")
	public String devicePropertyPostTopic;
	
	/** 自定义topic */
	@Value("${aliyun.message.topic.customTopic}")
	public String customTopic;
	
	/** rrpc topic */
	@Value("${aliyun.message.topic.rrpcTopic}")
	public String rrpcTopic;
	
	/** 升级结果 */
	@Value("${aliyun.message.topic.upgradeTopic}")
	public String upgradeTopic;
}
